/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package com.husong.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author maxmin
 *
 * @date 2015年8月25日 下午2:04:00
 */
/**
 * @author maxmin
 *
 * @date 2015年8月25日 下午3:50:35
 */
public class MessageBean implements Serializable {
	private static final long serialVersionUID = 1L;
	private long messageId;
	private String message;
	private String userId;
	private int userType;
	private int type; //消息类型
	private String orderId;
	private String fromUserId;
	private Timestamp createtime;

	/**
	 * 
	 */
	public MessageBean() {
		super();
	}

	/**
	 * @param message
	 * @param userId
	 * @param userType
	 */
	public MessageBean(String message, String userId, int userType, int type) {
		super();
		this.message = message;
		this.userId = userId;
		this.userType = userType;
		this.type = type;
	}

	public long getMessageId() {
		return messageId;
	}

	public void setMessageId(long messageId) {
		this.messageId = messageId;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(String fromUserId) {
		this.fromUserId = fromUserId;
	}

	public Timestamp getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}


	

	
}
